﻿#mensagem {
    position: relative;
    background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
}

#mensagem #elipses {
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
}

#mensagem-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 105px 20px 20px;
}

#mensagem-box #box-img img {
    display: block;
    width: 415px;
    height: 415px;
    margin: auto;
}

#mensagem-box #mensagem-text,
#mensagem-box #mensagem-text * {
    color: #707070;
    font-size: 16px;
    font-family: "Mohr-Mediumlt";
}

#mensagem-box #mensagem-nome {
    margin: 30px 0 0;
    color: #00bf44;
    font-size: 21px;
    font-family: "Mohr-Mediumlt";
}

#mensagem-box #mensagem-cargo {
    color: #021f59;
    font-size: 18px;
    font-family: "Mohr-Mediumlt";
}


#timeline {
    position: relative;
    width: 1200px;
    margin: auto;
    padding: 0 20px 50px;
}

#timeline:before {
    content: '';
    position: absolute;
    width: 1px;
    height: calc(100% - 290px);
    left: 50%;
    top: 135px;
    transform: translateX(-50%);
    background-color: #a0a0a0;
    z-index: 0;
}

#timeline ul {
    margin: 0;
    padding: 0;
}

#timeline ul li {
    list-style: none;
    box-sizing: border-box;
    line-height: normal;
    position: relative;
    width: 50%;
    padding: 50px;
}

#timeline ul li h2 {
    color: #00bf44;
    font-size: 4.5rem;
    font-family: 'Mohr-Thin';
}

#timeline ul li span {
    color: #021f59;
    font-size: 18px;
    font-family: "Mohr-Mediumlt";
}

#timeline ul li .timeline-items-description {
    color: #707070;
    font-size: 0.875rem;
    font-family: 'Mohr-Medium';
    margin-bottom: 0;
}

#timeline ul li:nth-child(odd) {
    float: right;
    text-align: left;
    clear: both;
}

#timeline ul li:nth-child(even) {
    float: left;
    text-align: right;
    clear: both;
}

#timeline ul li:nth-child(odd):before,
#timeline ul li:nth-child(even):before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-repeat: round;
    background-image: url(../images/circleAzul.svg);
    z-index: 10;
}

#timeline ul li:nth-child(odd):before {
    left: -10px;
    top: 100px;
}

#timeline ul li:nth-child(even):before {
    right: -10px;
    top: 105px;
}

#timeline ul li:nth-child(odd):after,
#timeline ul li:nth-child(even):after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
}

#timeline ul li:nth-child(odd)::after {
    left: -10px;
    top: 120px;
}

#timeline ul li:nth-child(even)::after {
    right: -10px;
    top: 125px;
}

#timeline #time-line-arrow {
    clear: both;
    width: 10px;
    height: 10px;
    margin: 10px auto 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #021f59;
}

#timeline #time-line-dots img {
    display: block;
    margin: auto;
}

@media  screen and (max-width: 1280px) {
    #timeline {
        width: 100%;
    }
}

@media screen and (max-width: 860px) {
    #mensagem-box {
        grid-template-columns: 1fr;
    }

    #mensagem-box #box-img img {
        margin: 0 auto 30px;
    }
}

@media screen and (max-width: 768px) {
    #timeline:before {
        left: 20px;
        transform: none;
    }

    #timeline ul li {
        width: 100%;
    }

    #timeline ul li:nth-child(odd) {
        float: left;
    }

    #timeline ul li:nth-child(even) {
        text-align: left;
    }

    #timeline ul li:nth-child(even):before {
        left: -10px;
        right: 0;
    }

    #timeline ul li:nth-child(even):after {
        left: -10px;
        right: 0;
    }

    #timeline #time-line-arrow {
        margin: 0 -10px;
    }

    #timeline #time-line-dots img {
        margin: 0 auto 0 -20px;
    }
}

@media screen and (max-width: 860px) {
    #mensagem-box {
        padding: 70px 20px;
    }

    #mensagem-box #box-img img {
        width: 80%;
        height: auto;
    }
}